Programming With QuickTime VR 2.1

Previous | Overview | Contents | Next

Sample Description Header Structure

A VR world contains general information about a QuickTime VR movie. For instance, a VR world contains the ID of every node in the scene. A VR world is contained in the QTVR track's sample description header, defined by the QTVRSampleDescription data type:

typedef struct QTVRSampleDescription {
    UInt32                              size;
    UInt32                              type;
    UInt32                              reserved1;
    UInt16                              reserved2;
    UInt16                              dataRefIndex;
    UInt32                              data;
} QTVRSampleDescription, *QTVRSampleDescriptionPtr, **QTVRSampleDescriptionHandle;
size
The size, in bytes, of the sample description header structure, including the VR world atom container contained in the data field.
type
The sample description type. For QuickTime VR movies, this type should be 'qtvr' .
reserved1
Reserved. This field must be 0.
reserved2
Reserved. This field must be 0.
dataRefIndex
Reserved. This field must be 0.
data
The VR world atom container. The sample description header structure is extended to hold this atom container.

© 1997 Apple Computer, Inc.

Previous | Overview | Contents | Next